package com.zhome.gateway.mq;

import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;
import org.springframework.stereotype.Component;

@Component
@RocketMQMessageListener(consumerGroup = "home-gateway", topic = "monitor")
public class RocketMQConsumer implements RocketMQListener {
    @Override
    public void onMessage(Object o) {

    }
}
